package com.itheima.mapper;

import com.itheima.pojo.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandMapper {
    //查询所有
    List<Brand> selectAll();
    Brand findById(int id);
    List<Brand> selectByCondition(Brand brand);
    List<Brand> selectByConditionSingle(Brand brand);
    void add(Brand brand);
    void update(Brand brand);
    void deletebyid(int id);
    void delete(@Param("ids") int[] ids);
}
